package com.lb.bs.client.beans;

import java.lang.reflect.Field;
import java.lang.reflect.Method;

/**
 * program: LB-BS-Client
 * author: bsworld.xie
 * create: 2019-11-27 11:27
 * description:
 */
public class LBItemBean {

    private String itemKey;

    private Object value;

    private Field field;
    /**
     *
     * get方法
     * */
    private Method method;
    /**
     *
     * 原始bean对象
     * */
    private Object originBean;


    private String groupName;


    private String fieldAnnotationKey;
    /**
     *
     * 是否移除标识
     *
     * @{code
     *
     * true:有效
     * false:false无效
     * }
     * */
    private boolean enable;



    public String getItemKey() {
        return itemKey;
    }

    public void setItemKey(String itemKey) {
        this.itemKey = itemKey;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Object getOriginBean() {
        return originBean;
    }

    public void setOriginBean(Object originBean) {
        this.originBean = originBean;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getFieldAnnotationKey() {
        return fieldAnnotationKey;
    }

    public void setFieldAnnotationKey(String fieldAnnotationKey) {
        this.fieldAnnotationKey = fieldAnnotationKey;
    }

    public boolean getEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        return "LBItemBean{" +
                "itemKey='" + itemKey + '\'' +
                ", value=" + value +
                ", field=" + field +
                ", method=" + method +
                ", originBean=" + originBean +
                ", groupName='" + groupName + '\'' +
                ", fieldAnnotationKey='" + fieldAnnotationKey + '\'' +
                ", enable=" + enable +
                '}';
    }
}
